Skip to content

Conversation

@GirishDewangan06
Copy link

Description

This PR adds a new plugin hls-cabal-project-plugin that provides language server support for cabal.project files. The plugin is designed to enhance the Haskell Language Server's capabilities by providing specialized support for project configuration files.

Features

  • Basic plugin structure and configuration
  • Support for parsing and validating cabal.project files
  • Integration with the main HLS plugin system

Future Enhancements

The plugin is structured to support future additions of:

  • Completions for keywords, file paths, and enum values
  • Diagnostics for syntax errors and invalid configurations
  • Syntax highlighting for cabal.project files

Testing

  • Basic plugin structure has been tested
  • Integration with HLS plugin system verified

Related Issues

This implementation addresses the need for better support of cabal.project files in HLS, similar to the existing support for .cabal files.

@GirishDewangan06 GirishDewangan06 requested a review from fendor as a code owner April 6, 2025 19:39
@fendor fendor requested a review from VeryMilkyJoe April 7, 2025 07:11
@fendor
Copy link
Collaborator

fendor commented Apr 8, 2025

Hi, thank you for your PR!

I presume this is a Draft PR, and you should mark it as such :)

@fendor fendor marked this pull request as draft April 8, 2025 14:28
@fendor
Copy link
Collaborator

fendor commented Apr 27, 2025

PR description does not match the changes and author did not comment yet. Closing, feel free to reopen.

@fendor fendor closed this Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants